package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摩托基础信息对象 moto_info
 * 
 * @author ruoyi
 * @date 2024-08-12
 */
public class MotoInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    private Long infoId;

    /** 乡镇 */
    @Excel(name = "乡镇（街道）")
    private String town;

    /** 车辆类型 */
    @Excel(name = "车辆类型（两轮摩托车、三轮摩托车）", readConverterExp = "0=两轮摩托车,1=三轮摩托车")
    private String carType;

    /** 车牌号码 */
    @Excel(name = "车牌号牌（号牌xxx、无牌）")
    private String carNumber;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String carOwnerName;

    /** 联系电话 */
    @Excel(name = "车主联系电话")
    private String carOwnerPhone;

    /** 身份证号码 */
    @Excel(name = "车主身份证号码")
    private String carOwnerIdCard;

    /** 驾驶人姓名 */
    @Excel(name = "驾驶人姓名")
    private String driverName;

    /** 联系电话 */
    @Excel(name = "驾驶人联系电话")
    private String driverPhone;

    /** 身份证号码 */
    @Excel(name = "驾驶人身份证号码")
    private String driverIdCard;

    /** 驾驶人居住地址 */
    @Excel(name = "驾驶人居住地址")
    private String driverAddress;

    /** 是否纳入赋色管理 */
    @Excel(name = "是否纳入赋色管理", readConverterExp = "Y=是,N=否")
    private String colorManage;

    /** 赋色管理种类 */
    @Excel(name = "赋色管理种类（红、绿、黄）", readConverterExp = "0=红,1=绿,2=黄")
    private String colorType;

    /** 包乡镇责任人 */
    @Excel(name = "包乡镇（街道）责任人")
    private String dutyTownName;

    /** 联系电话 */
    @Excel(name = "包乡镇（街道）责任人联系电话")
    private String dutyTownPhone;

    /** 包村责任人 */
    @Excel(name = "包村（社区）责任人")
    private String dutyVillageName;

    /** 联系电话 */
    @Excel(name = "包村（社区）责任人联系电话")
    private String dutyVillagePhone;

    /** 包户责任人 */
    @Excel(name = "包户责任人")
    private String dutyHuName;

    /** 联系电话 */
    @Excel(name = "包户责任人联系电话")
    private String dutyHuPhone;

    /** 驾驶证 */
    @Excel(name = "驾驶证图片", cellType = Excel.ColumnType.IMAGE)
    private String license;

    /** 图片地址 */
    @Excel(name = "摩托车图片", cellType = Excel.ColumnType.IMAGE)
    private String imgUrl;

    /** 帐号状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setTown(String town) 
    {
        this.town = town;
    }

    public String getTown() 
    {
        return town;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setCarOwnerName(String carOwnerName) 
    {
        this.carOwnerName = carOwnerName;
    }

    public String getCarOwnerName() 
    {
        return carOwnerName;
    }
    public void setCarOwnerPhone(String carOwnerPhone) 
    {
        this.carOwnerPhone = carOwnerPhone;
    }

    public String getCarOwnerPhone() 
    {
        return carOwnerPhone;
    }
    public void setCarOwnerIdCard(String carOwnerIdCard)
    {
        this.carOwnerIdCard = carOwnerIdCard;
    }

    public String getCarOwnerIdCard()
    {
        return carOwnerIdCard;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }
    public void setDriverAddress(String driverAddress) 
    {
        this.driverAddress = driverAddress;
    }

    public String getDriverAddress() 
    {
        return driverAddress;
    }
    public void setColorManage(String colorManage) 
    {
        this.colorManage = colorManage;
    }

    public String getColorManage() 
    {
        return colorManage;
    }
    public void setColorType(String colorType) 
    {
        this.colorType = colorType;
    }

    public String getColorType() 
    {
        return colorType;
    }
    public void setDutyTownName(String dutyTownName) 
    {
        this.dutyTownName = dutyTownName;
    }

    public String getDutyTownName() 
    {
        return dutyTownName;
    }
    public void setDutyTownPhone(String dutyTownPhone) 
    {
        this.dutyTownPhone = dutyTownPhone;
    }

    public String getDutyTownPhone() 
    {
        return dutyTownPhone;
    }
    public void setDutyVillageName(String dutyVillageName) 
    {
        this.dutyVillageName = dutyVillageName;
    }

    public String getDutyVillageName() 
    {
        return dutyVillageName;
    }
    public void setDutyVillagePhone(String dutyVillagePhone) 
    {
        this.dutyVillagePhone = dutyVillagePhone;
    }

    public String getDutyVillagePhone() 
    {
        return dutyVillagePhone;
    }
    public void setDutyHuName(String dutyHuName) 
    {
        this.dutyHuName = dutyHuName;
    }

    public String getDutyHuName() 
    {
        return dutyHuName;
    }
    public void setDutyHuPhone(String dutyHuPhone) 
    {
        this.dutyHuPhone = dutyHuPhone;
    }

    public String getDutyHuPhone() 
    {
        return dutyHuPhone;
    }
    public void setLicense(String license) 
    {
        this.license = license;
    }

    public String getLicense() 
    {
        return license;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getDriverIdCard() {
        return driverIdCard;
    }

    public void setDriverIdCard(String driverIdCard) {
        this.driverIdCard = driverIdCard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infoId", getInfoId())
            .append("town", getTown())
            .append("carType", getCarType())
            .append("carNumber", getCarNumber())
            .append("carOwnerName", getCarOwnerName())
            .append("carOwnerPhone", getCarOwnerPhone())
            .append("idCardNumber", getCarOwnerIdCard())
            .append("driverName", getDriverName())
            .append("driverPhone", getDriverPhone())
            .append("driverAddress", getDriverAddress())
            .append("colorManage", getColorManage())
            .append("colorType", getColorType())
            .append("dutyTownName", getDutyTownName())
            .append("dutyTownPhone", getDutyTownPhone())
            .append("dutyVillageName", getDutyVillageName())
            .append("dutyVillagePhone", getDutyVillagePhone())
            .append("dutyHuName", getDutyHuName())
            .append("dutyHuPhone", getDutyHuPhone())
            .append("license", getLicense())
            .append("imgUrl", getImgUrl())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
